﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace WaterRegimenMonitor.Web.Models.Organization
{
    /// <summary>
    /// 组织结构参照模型
    /// </summary>
    /// <remarks></remarks>
    public class OrganizationReference
    {
        #region ---Property

        /// <summary>
        /// 获得或者设置组织结构的编号。
        /// </summary>
        /// <value>组织结构的编号。</value>
        /// <remarks></remarks>
        public Guid ID
        {
            get;
            set;
        }

        /// <summary>
        /// 获得或者设置组织结构的名称。
        /// </summary>
        /// <value>组织结构的名称。</value>
        /// <remarks></remarks>
        public string Name
        {
            get;
            set;
        }

        #endregion

        #region ---Const

        /// <summary>
        /// 空白项目
        /// </summary>
        public static readonly OrganizationReference Empty = new OrganizationReference() { ID = Guid.Empty, Name = "---所有单位---" };

        #endregion
    }
}